<?php if (!defined('THINK_PATH')) exit(); global $isLogin;?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?=C('APP_NAME')?>-后台管理系统</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" type="text/css" href="/statics/lib/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="/statics/stylesheets/theme.css">
    <link rel="stylesheet" href="/statics/lib/font-awesome/css/font-awesome.css">

	<script src="/statics/arts/artDialog.source.js?skin=default"></script>
	<script src="/statics/arts/iframeTools.source.js"></script>
	<script src="/statics/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
	<script src="/statics/js/base.js" type="text/javascript"></script>
	<script type="text/javascript" src="/statics/lib/WdatePicker.js"></script>
	<link rel="stylesheet" href='/statics/css/lightbox.css'></link>
	<script type="text/javascript" src='/statics/js/lightbox.js'></script>
    <!-- Demo page code -->

    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
    </style>
    
    <style>
		form {
			margin: 0;
		}
		textarea {
			display: block;
		}
		table {
	 		border:1px solid #dddddd
		}
	</style>
	<link rel="stylesheet" href="/statics/lib/themes/default/default.css" />
	<script charset="utf-8" src="/statics/lib/kindeditor-min.js"></script>
	<script charset="utf-8" src="/statics/lib/lang/zh_CN.js"></script>
	<script>
		var editor;
		KindEditor.ready(function(K) {
			editor = K.create('textarea[name="content"]', {
				allowFileManager : true,
				afterBlur:function(){
					   this.sync();
					},
			});
			K('input[name=getHtml]').click(function(e) {
				alert(editor.html());
			});
			K('input[name=isEmpty]').click(function(e) {
				alert(editor.isEmpty());
			});
			K('input[name=getText]').click(function(e) {
				alert(editor.text());
			});
			K('input[name=selectedHtml]').click(function(e) {
				alert(editor.selectedHtml());
			});
			K('input[name=setHtml]').click(function(e) {
				editor.html('<h3>Hello KindEditor</h3>');
			});
			K('input[name=setText]').click(function(e) {
				editor.text('<h3>Hello KindEditor</h3>');
			});
			K('input[name=insertHtml]').click(function(e) {
				editor.insertHtml('<strong>插入HTML</strong>');
			});
			K('input[name=appendHtml]').click(function(e) {
				editor.appendHtml('<strong>添加HTML</strong>');
			});
			K('input[name=clear]').click(function(e) {
				editor.html('');
			});
		});
	</script>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

  </head>

  <!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
  <!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
  <!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
  <!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
  <!--[if (gt IE 9)|!(IE)]><!-->
  <script src="/statics/js/sever_top_side.js" type="text/javascript"></script>
  <body>
		  
<?php if($isLogin && !I('get.ifm')){?>
<body class=""> 
  <!--<![endif]-->
  	<p style="width:0%;border:2px solid pink;margin:0px;position:absolute;top:0px;left:0px;z-index:100000" id="loadIngCent"></p>
    <div class="navbar" id="loadIngCent_navbar">
        <div class="navbar-inner">
                <ul class="nav pull-right">
                    <!--<li><a href="#" class="hidden-phone visible-tablet visible-desktop ifrm" data-url="/sysmsg/showlogs" data-width="900" data-height="650" data-title="系统日志" data-params="" role="button">系统日志</a></li>-->
                    <li id="fat-menu" class="dropdown">
                        <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                            <img src="/statics/images/addpic.png" alt="">
                            <?=getLoginMsg()->username?>
                            <i class="icon-caret-down"></i>
                        </a>
                        
                        <ul class="dropdown-menu">
                            <li><a tabindex="-1" href="javascript:void(0)" id="myaccount" class="ifrm" data-url="/user/usercenter" data-width="450" data-height="450" data-title="我的账户" data-params="">我的账户</a></li>
                            <!--<li><a tabindex="-1" class="visible-phone" href="#">系统设置</a></li>-->
                            <li><a tabindex="-1"  href="/user/addAdmin" >新开帐号</a></li>
                            <li><a tabindex="-1" href="/user/loginout">注销</a></li>
                        </ul>
                    </li>
                </ul>
                <a class="brand" href="/user/loginout">
                    <img src="/statics/images/logo.png" alt=""><!--width: 18.5%;margin-right: .5em;vertical-align: -0.33333rem;-->
                    <span class="second">铜人宝医院安全管理系统</span>
                </a>
        </div>
    </div>
    <script>loadCent('20%',100);</script>
    <div class="sidebar-nav" id="sidebar-nav">
        <!--医院内部管理-->
		<a href="#accounts-menu-first-01" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/sever_hospital.png" alt="">
            <span>医院内部管理</span>
            <img class="define-left" src="/statics/images/secer_left.png" alt="">
        </a>
		<ul id="accounts-menu-first-01"  class="accounts-menu-first-ul nav nav-list collapse">
            <li class="active">
                <a href="#accounts-menu-second-01" class="active-two accounts-menu-two-ul" data-toggle="collapse">科室管理</a>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-02" class="active-two accounts-menu-two-ul" data-toggle="collapse">人员管理</a>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-03" class="active-two accounts-menu-two-ul" data-toggle="collapse">患者管理</a><img class="define-left" src="/statics/images/secer_left.png" alt="">
                <ul id="accounts-menu-second-03"  class="nav nav-list collapse">
                    <li class="active active-three"><a href="javascript:;">患者账号管理</a></li>
                    <li class="active active-three"><a href="javascript:;">腕带管理</a></li>
                </ul>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-04" class="active-two accounts-menu-two-ul" data-toggle="collapse">黑名单管理</a><img class="define-left" src="/statics/images/secer_left.png" alt="">
                <ul id="accounts-menu-second-04"  class="nav nav-list collapse">
                    <li class="active active-three"><a href="javascript:;">黑名单管理</a></li>
                    <li class="active active-three"><a href="javascript:;">权限管理</a></li>
                </ul>
            </li>
		</ul>

        <!--服务中心-->
        <a href="#accounts-menu-first-02" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/sever_center.png" alt="">
            <span>服务中心</span>
            <img class="define-left" src="/statics/images/secer_left.png" alt="">
        </a>
        <ul id="accounts-menu-first-02"  class="accounts-menu-first-ul nav nav-list collapse">
            <li class="active">
                <a href="#accounts-menu-second-01" class="active-two accounts-menu-two-ul" data-toggle="collapse">患者呼叫</a>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-02" class="active-two accounts-menu-two-ul" data-toggle="collapse">院内呼叫</a>
            </li>
        </ul>

        <!--预警管理-->
        <a href="#accounts-menu-first-03" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/sever_warning.png" alt="">
            <span>预警管理</span>
            <img class="define-left" src="/statics/images/secer_left.png" alt="">
        </a>
        <ul id="accounts-menu-first-03"  class="accounts-menu-first-ul nav nav-list collapse">
            <li class="active">
                <a href="#accounts-menu-second-01" class="active-two accounts-menu-two-ul" data-toggle="collapse">预警处理</a>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-02" class="active-two accounts-menu-two-ul" data-toggle="collapse">报警信号</a>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-04" class="active-two accounts-menu-two-ul" data-toggle="collapse">报警卡绑定记录</a>
            </li>
        </ul>

        <!--投诉管理-->
        <a href="#accounts-menu-first-04" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/sever_complaint.png" alt="">
            <span>投诉管理</span>
            <img class="define-left" src="/statics/images/secer_left.png" alt="">
        </a>
        <ul id="accounts-menu-first-04"  class="accounts-menu-first-ul nav nav-list collapse">
            <li class="active">
                <a href="#accounts-menu-second-04-01" class="active-two accounts-menu-two-ul" data-toggle="collapse">患者投诉</a><img class="define-left" src="/statics/images/secer_left.png" alt="">
                <ul id="accounts-menu-second-04-01"  class="nav nav-list collapse">
                    <li class="active active-three"><a href="javascript:;">投诉汇总</a></li>
                    <li class="active active-three"><a href="javascript:;">投诉参数设置</a></li>
                </ul>
            </li>
            <li class="active">
                <a href="#accounts-menu-second-04-02" class="active-two accounts-menu-two-ul" data-toggle="collapse">院内投诉</a><img class="define-left" src="/statics/images/secer_left.png" alt="">
                <ul id="accounts-menu-second-04-02"  class="nav nav-list collapse">
                    <li class="active active-three"><a href="javascript:;">投诉汇总</a></li>
                    <li class="active active-three"><a href="javascript:;">投诉参数设置</a></li>
                </ul>
            </li>
        </ul>

        <!--后勤管理-->
        <a href="#accounts-menu-first-05" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/secer_logi.png" alt="">
            <span>后勤管理</span>
        </a>

        <!--资产管理-->
        <a href="#accounts-menu-first-06" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/secer_property.png" alt="">
            <span>资产管理</span>
        </a>

        <!--公告管理-->
        <a href="#accounts-menu-first-07" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/sever_announcements.png" alt="">
            <span>公告管理</span>
        </a>

        <!--管理账号管理-->
        <a href="#accounts-menu-first-08" class="nav-header sidebar-nav-a collapsed" data-toggle="collapse">
            <img class="define-nav" src="/statics/images/sever_account.png" alt="">
            <span>管理账号管理</span>
        </a>

    </div>
    <script>loadCent('30%',100);</script>
    <div class="content">
        <div class="header">
        	<!-- 
			<div class="stats">
				<p class="stat"><span class="number"><?=session('tj_life_regist')?></span>今日注册数</p>
				<p class="stat"><span class="number"><?=session('tj_life_port')?></span>今日订单数</p>
			</div> -->
			<!--<h1 class="page-title"><?=C('menus')[$_current_c[0]][$_current_c[1]]['tip']?></h1> -->
        </div>

        <div class="container-fluid">
            <div class="row-fluid">
            <script>
                loadCent('60%',100);
                height_loadIngCent_navbar();
                function height_loadIngCent_navbar() {
                    $('#sidebar-nav').css('top',$('#loadIngCent_navbar').outerHeight())
                }
                $(window).resize(function () {
                    height_loadIngCent_navbar();
                })
            </script>
<?php }?>
 <style>
    .define{
        background-color: #f6f6f6;
    }
    .container-fluid{
        padding: 0;
    }
    .define-nav{
        background-color: #FFF;
        padding: 0.39393939rem 0 0.39393939rem 0.848484rem;
    }
    .define-nav .pull-left{
        color: #666;
        display: inline-block;
        font-size: 0.54rem;
        margin-top:6px;
    }
    .define-nav .pull-right{
        margin-right: 0.909090rem;
    }
    #admin_edit_parameter{
        width: 3.272727rem;
    }
    .define-list{
        font-size: 13px;
        background-color: #FFF;
        margin-left: 0.87878787rem;
        margin-right: 0.87878787rem;
        margin-top: 0.87878787rem;
    }
    .define-list-title{
        border-bottom: 1px solid #e6e6e6;
        padding: 0.3rem 0.63636363rem;
        position: relative;
    }
    .define-list-title img{
        position: absolute;
        width: 3.9393939rem;
        right: 10px;
        top: 12%;
        vertical-align: middle;
    }
    .define-list-content{
        padding: 0 0 0.5rem 0;
    }
    .define-list-content .pull-left{
        font-size: 12px;
        border: 1px solid #e6e6e6;
        border-radius: 20px;
        padding: 0.2rem 0.590909090rem;
        margin-left: 0.87878787rem;
        margin-top: 0.5rem;
    }
    /*弹层样式*/
    .modal{
        margin: 0;
        width: 42.7%;
        min-width: 470px;
        left:30%;
    }
    .modal.fade.in{
        top: 26%;
    }
    .modal-backdrop, .modal-backdrop.fade.in{
        opacity: 0.5;
    }
    .modal-header{
        background-color: #fafafa;
        color: #1CC7BD;
        font-size: 12px;
        padding: 0.3484848rem 0.636363rem;
    }
    .modal-header img{
        position: absolute;
        top:8%;
        right: 0.636363rem;
    }
    .modal-header img:hover{
        -webkit-animation: img_hover_rotate .2s linear;
        -o-animation: img_hover_rotate .2s linear;
        animation: img_hover_rotate .2s linear;
    }
    .modal .modal-body{
        font-size: 12px;
        padding: 0;
    }
    @-webkit-keyframes img_hover_rotate {
        0%{  -webkit-transform: rotate(0deg);  }
        100%{  -webkit-transform: rotate(90deg);  }
    }
    @-o-keyframes img_hover_rotate {
        0%{  -o-transform: rotate(0deg);  }
        100% {  -o-transform: rotate(90deg);  }
    }
    @-ms-keyframes img_hover_rotate {
        0%{  -ms-transform: rotate(0deg);  }
        100%{  -ms-transform: rotate(90deg);  }
    }
    @-moz-keyframes img_hover_rotate {
        0%{  -moz-transform: rotate(0deg);  }
        100%{  -moz-transform: rotate(90deg);  }
    }
    @-khtml-keyframes img_hover_rotate {
        0%{  -khtml-transform: rotate(0deg);  }
        100%{  -khtml-transform: rotate(90deg);  }
    }
    @keyframes  img_hover_rotate{
        0%{  transform: rotate(0deg);  }
        100%{  transform: rotate(90deg);  }
    }

    /*弹层*/
    ul{
        margin: 0;
        list-style: none;
    }
    .modal_ul_first{
        padding: 0 0.606060606rem;
    }
    .modal_ul_first > li:not(:first-child){
        margin-top: 0.57575757rem;
    }
    .modal_ul_first > li > div{
        border-bottom: 1px solid #e6e6e6;
        padding: 0.3rem 0.3rem 0.3rem 0;
    }
    .modal_ul_first > li > div .pull-left{
        border-left: 3px solid #1CC7BD;
        padding-left: 10px;
    }
    .modal_ul_first > li > div .pull-right img{
        vertical-align: -1px;
    }
    .modal_ul_second > li{
        padding: 0.3rem;
    }
    .modal_ul_second > li:not(:last-child){
        border-bottom: 1px dashed #e6e6e6;
    }
    .modal_ul_second > li:last-child{
        border-bottom: 1px solid #e6e6e6;
    }
    #edit_complain_post,
    #sure_post{
        background-color: #1CC7BD;
        color: #FFF;
        text-align: center;
        padding: 0.166666rem 0;
        width: 11.1%;
        border-radius: 3px;
        margin: 0.8787878787rem auto;
    }
    #edit_complain_post:hover,
    #sure_post:hover{
        cursor: pointer;
    }
    /*投诉类型管理*/
    #edit_complain_status .pull-left{
        position: relative;
        border: 1px solid #e6e6e6;
        border-radius: 20px;
        padding: 0.2rem 0.66666666rem;
        margin-left: 0.6060606rem;
        margin-top: 0.5rem;
    }
    #edit_complain_status .pull-left img{
        position: absolute;
        width: 12px;
        top: 0;
        right: 0;
    }
    #modal_add.pull-left{
        border: none;
        padding: 0;
        border-radius: 0;
    }
    #edit_complain_status #modal_add.pull-left img{
        position: static;
        width: 35px;
    }
    #edit_complain_status #modal_add.pull-left img:hover{
        cursor: pointer;
    }

    /*适配*/
    @media (min-width: 1024px){
        /*18*/
        .define-nav .pull-left{
            font-size: 15px;
            margin-top: 3px;
        }
        .define-list-title img{
            top: 25%;
        }
        .modal-header img{
            top: 2.5%
        }
        #edit_complain_status .modal-header img{
            top: 4.5%
        }
        #edit_complain_status .pull-left img{
            width: 12px;
        }
        #edit_complain_status #modal_add.pull-left img{
            width: 29px;
        }
    }
    @media (min-width: 1100px) {
        /*20*/
        #edit_complain_status #modal_add.pull-left img{
            width: 30px;
        }
    }
    @media (min-width: 1280px) {
        /*22*/
        .define-nav .pull-left{
            font-size: 17px;
            margin-top: 3px;
        }
        .define-list-title img{
            top: 21%;
        }
        .modal-header img{
            top: 2.5%
        }
        #edit_complain_status .modal-header img{
            top: 4.5%
        }
        #edit_complain_status #modal_add.pull-left img{
            width: 30px;
        }
    }
    @media (min-width: 1366px) {
        /*24*/
        .define-nav .pull-left{
            font-size: 17px;
            margin-top: 3px;
        }
        .modal-header img{
            top: 3%
        }
        #edit_complain_status .modal-header img{
            top: 4.5%
        }
        #edit_complain_status .pull-left img{
            width: 14px;
        }
        #edit_complain_status #modal_add.pull-left img{
            width: 31px;
        }
    }
    @media (min-width: 1440px) {
        /*25*/
        .define-nav .pull-left{
            margin-top: 4px;
        }
        .modal-header img{
            top: 2.9%
        }
        #edit_complain_status .modal-header img{
            top: 4.5%
        }
        #edit_complain_status #modal_add.pull-left img{
            width: 32px;
        }
    }
    @media (min-width: 1680px) {
        /*28*/
        .define-nav .pull-left{
            font-size: 18px;
            margin-top: 5px;
        }
        .define-list-title img{
            top: 15%;
        }
        .modal-header img{
            top: 3.5%
        }
        #edit_complain_status .modal-header img{
            top: 5.5%
        }
        #edit_complain_status #modal_add.pull-left img{
            width: 33px;
        }
    }
    @media (min-width: 1920px) {
        /*33*/
        .define-nav .pull-left{
            font-size: 0.54rem;
            margin-top: 6px;
        }
        .define-list-title img{
            top: 12%;
        }
        #edit_complain_status .modal-header img{
            top: 5.5%
        }
        #edit_complain_status .pull-left img{
            width: 16px;
        }
        #edit_complain_status #modal_add.pull-left img{
            width: 35px;
        }
    }

</style>
<div class="define">
    <div class="define-nav clearfix">
        <div class="pull-left">患者投诉参数设置</div>
        <div class="pull-right"><img id="admin_edit_parameter" src="/statics/images/sever_edit_pame.png" alt=""></div>
    </div>

    <div style="overflow: auto">
        <!--投诉类型设定  开始-->
        <div class="define-list">
            <div class="define-list-title clearfix">
                <div class="pull-left">投诉类型设定</div>
                <img id="admin_complain_status" src="/statics/images/sever_status_complain.png" alt="">
            </div>
            <div class="define-list-content clearfix">
                <div class="pull-left">张三张三</div>
                <div class="pull-left">投诉类型设定</div>
                <div class="pull-left">投诉</div>
                <div class="pull-left">类型</div>
                <div class="pull-left">张三张三张三张三张三张三张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张三</div>
                <div class="pull-left">张三张三张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张</div>
            </div>
        </div>
        <!--投诉类型设定  结束-->

        <!--患者信息设定  开始-->
        <div class="define-list">
            <div class="define-list-title clearfix">
                <div class="pull-left">患者信息设定</div>
            </div>
            <div class="define-list-content clearfix">
                <div class="pull-left">张三张三</div>
                <div class="pull-left">投诉类型设定</div>
                <div class="pull-left">投诉</div>
                <div class="pull-left">类型</div>
                <div class="pull-left">张三张三张三张三张三张三张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张三</div>
                <div class="pull-left">张三张三张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
                <div class="pull-left">张三张三张</div>
            </div>
        </div>
        <!--患者信息设定  结束-->

        <!--投诉信息设定  开始-->
        <div class="define-list">
            <div class="define-list-title clearfix">
                <div class="pull-left">投诉信息设定</div>
            </div>
            <div class="define-list-content clearfix">
                <div class="pull-left">张三张三</div>
                <div class="pull-left">投诉类型设定</div>
                <div class="pull-left">投诉</div>
                <div class="pull-left">类型</div>
                <div class="pull-left">张三张三张三张三张三张三张三</div>
                <div class="pull-left">张三张三张三张三张三张</div>
            </div>
        </div>
        <!--投诉信息设定  结束-->

        <!--投诉人与患者关系  开始-->
        <div class="define-list">
            <div class="define-list-title clearfix">
                <div class="pull-left">投诉人与患者关系</div>
            </div>
            <div class="define-list-content clearfix">
                <div class="pull-left">张三张三</div>
                <div class="pull-left">投诉类型设定</div>
                <div class="pull-left">投诉</div>
                <div class="pull-left">类型</div>
                <div class="pull-left">张三张三张三张三张三张三张三</div>
            </div>
        </div>
        <!--投诉人与患者关系  结束-->

        <!--投诉结果设定  开始-->
        <div class="define-list">
            <div class="define-list-title clearfix">
                <div class="pull-left">投诉结果设定</div>
            </div>
            <div class="define-list-content clearfix">
                <div class="pull-left">张三张三</div>
                <div class="pull-left">投诉类型设定</div>
                <div class="pull-left">投诉</div>
            </div>
        </div>
        <!--投诉结果设定  结束-->
    </div>

</div>

<!--编辑弹层  开始-->
<div class="modal fade" tabindex="-1" role="dialog" id="edit_parameter_modal">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <span class="define-modal-close" data-dismiss="modal" aria-label="Close"><img src="/statics/images/sever_close.png" alt=""></span>
                <div class="modal-title">编辑</div>
            </div>
            <div class="modal-body">
                <ul class="modal_ul_first" id="modal_select">
                    <!--投诉类型设定-->
                    <li>
                        <div class="clearfix">
                            <div class="pull-left">投诉类型设定</div>
                            <div class="pull-right define_select_all">全选 <img src="/statics/images/sever_select_all.png" alt=""></div>
                        </div>
                        <ul class="modal_ul_second">
                            <li class="clearfix">
                                <div class="pull-left">医疗质量</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">护理投诉</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">服务态度</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                        </ul>
                    </li>
                    <!--患者信息设定-->
                    <li>
                        <div class="clearfix">
                            <div class="pull-left">患者信息设定</div>
                            <div class="pull-right define_select_all">全选 <img src="/statics/images/sever_select_all.png" alt=""></div>
                        </div>
                        <ul class="modal_ul_second">
                            <li class="clearfix">
                                <div class="pull-left">医疗质量</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">护理投诉</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">服务态度</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                        </ul>
                    </li>
                    <!--投诉信息设定-->
                    <li>
                        <div class="clearfix">
                            <div class="pull-left">投诉信息设定</div>
                            <div class="pull-right define_select_all">全选 <img src="/statics/images/sever_select_all.png" alt=""></div>
                        </div>
                        <ul class="modal_ul_second">
                            <li class="clearfix">
                                <div class="pull-left">医疗质量</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">护理投诉</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">服务态度</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                        </ul>
                    </li>
                    <!--投诉人与患者关系-->
                    <li>
                        <div class="clearfix">
                            <div class="pull-left">投诉人与患者关系</div>
                            <div class="pull-right define_select_all">全选 <img src="/statics/images/sever_select_all.png" alt=""></div>
                        </div>
                        <ul class="modal_ul_second">
                            <li class="clearfix">
                                <div class="pull-left">医疗质量</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">护理投诉</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">服务态度</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                        </ul>
                    </li>
                    <!--投诉结果设定-->
                    <li>
                        <div class="clearfix">
                            <div class="pull-left">投诉结果设定</div>
                            <div class="pull-right define_select_all">全选 <img src="/statics/images/sever_select_all.png" alt=""></div>
                        </div>
                        <ul class="modal_ul_second">
                            <li class="clearfix">
                                <div class="pull-left">医疗质量</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">护理投诉</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                            <li class="clearfix">
                                <div class="pull-left">服务态度</div>
                                <div class="pull-right"><img src="/statics/images/sever_select.png" alt=""></div>
                            </li>
                        </ul>
                    </li>
                </ul>
                <div><div id="sure_post">提交</div></div>
            </div>
        </div>
    </div>
</div>
<!--编辑弹层  结束-->

<!--投诉类型管理弹层  开始-->
<div class="modal fade" tabindex="-1" role="dialog" id="edit_complain_status">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <span class="define-modal-close" data-dismiss="modal" aria-label="Close"><img src="/statics/images/sever_close.png" alt=""></span>
                <div class="modal-title">投诉类型管理</div>
            </div>
            <div class="modal-body">
                <div class="clearfix">
                    <div class="pull-left">张三张三<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">投诉类型设定<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">李四<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">医院<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三张三张三张三张三张三张三<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">医院<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三张三张三<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三张三张三张三张三张<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三张三张三张三张三张<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三张三张<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">张三张三<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">投诉类型设定<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">李四<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left">医院<img src="/statics/images/sever_delete_parameter.png" alt=""></div>
                    <div class="pull-left" id="modal_add"><img src="/statics/images/sever_add_parameter.png" alt=""></div>
                </div>
                <div><div id="edit_complain_post">提交</div></div>
            </div>
        </div>
    </div>
</div>
<!--投诉类型管理弹层  结束-->

<script>
	$(document).ready(function () {
		//监测浏览窗口动态变化
		$(window).resize(function () {
			amend_modal_place( $('#edit_parameter_modal'));//修正弹窗位置  始终处于屏幕中央  编辑
			amend_modal_place( $('#edit_complain_status'));//修正弹窗位置  始终处于屏幕中央  投诉类型管理

			modal_select_warn_level_length();//添加人员弹窗  选择预警级别下拉选择框  长度赋值
		});

		//设置当前页面选中样式
		setting_style_the_page();
		function setting_style_the_page() {
			var first_menu_item = $('#sidebar-nav').find('a[href="#accounts-menu-first-04"]');//获取一级菜单可点击的a标签 "投诉管理"
			var img_nav = first_menu_item.find('.define-nav');//获取导航图片
			var img_left = first_menu_item.find('.define-left');//获取转向图片
			var first_ul = $('#accounts-menu-first-04');//获取一级下拉菜单
			var first_ul_li_one = first_ul.children('li').eq(2);//获取  "患者管理"

			var second_menu_item = $('#sidebar-nav').find('a[href="#accounts-menu-second-04-01"]');//获取二级菜单可点击的a标签
			var second_img_left = second_menu_item.parent().find('.define-left');//获取导航图片
			var second_ul = $('#accounts-menu-second-04-01');//获取二级下拉菜单
			var second_ul_li_one = second_ul.children('li').eq(1);//获取  "投诉参数设置"

			first_menu_item.addClass('define-active');//一级菜单添加左边横线
			img_nav.attr('src','/statics/images/sever_hospital_select.png');//切换导航图片
			img_left.addClass('define-rotate-active');//添加动画类
			first_ul.addClass('in');//展拉一级菜单
			first_ul_li_one.addClass('define-active');//li添加左边横线

			second_menu_item.parent().addClass('define-active');
			second_img_left.addClass('define-rotate-active');
			second_ul.addClass('in');//展开二级菜单
			second_ul_li_one.addClass('define-active');//"患者账号管理"  添加选中样式
		}

		//弹层  修正弹窗位置  始终处于屏幕中央
		function amend_modal_place($modal) {
			var window_width = $(window).width();
			var window_height = $(window).height();
			var width = $modal.width();
			var height = $modal.height();

			var left = ( window_width - width ) / 2;
			var top  = ( window_height - height ) / 2;

			$modal.css('left',left);
			$modal.css('top',top);
		}

		//弹层  全选  反选  展示弹层
		click_show_modal_select();
        function click_show_modal_select() {
            $('#admin_edit_parameter').on('click',function () {
	            amend_modal_place( $('#edit_parameter_modal'));//修正弹窗位置  始终处于屏幕中央  编辑
	            $('#edit_parameter_modal').modal({keyboard: false});
            });
        }

		//弹层  全选  反选  样式切换
		modal_select_all_no_style();
        function modal_select_all_no_style() {
            var modal_select = $('#modal_select');//获取ul
            modal_select.delegate('.define_select_all','click',function () {
                var first_img_src = $(this).find('img');//获取img
	            var img_all_item = $(this).parents('li').find('ul').find('img');
	            if(first_img_src.attr('src') == '/statics/images/sever_select_all.png'){
                	first_img_src.attr('src','/statics/images/sever_unselect.png');
		            img_all_item.attr('src','');
                }else {
	                first_img_src.attr('src','/statics/images/sever_select_all.png');
		            img_all_item.attr('src','/statics/images/sever_select.png');
                }
            });
        }

		//弹层  全选  反选  功能实现  -->  全选
		modal_select_all_no_function();
        function modal_select_all_no_function() {
	        var modal_select = $('#modal_select');//获取ul
            modal_select.delegate('li[class="clearfix"]','click',function () {
                var img = $(this).find('img');//当前选项图片
                var img_all = $(this).parent().find('img');//当前所有图片
                var img_select_all = $(this).parents('li').find('.define_select_all').find('img');//全选  反选
                if(img.attr('src') == '/statics/images/sever_select.png'){
	                img.attr('src','');
                }else {
	                img.attr('src','/statics/images/sever_select.png');
                }
	            modal_select_all_no_judge(img_all,img_select_all);//弹层  全选  反选  判断是否全部选中  当前项图片  全选反选
            });
        }

		//弹层  全选  反选  判断是否全部选中  当前项图片  全选反选
        function modal_select_all_no_judge($img,$select_img) {
        	var len = $img.length;
        	var count = 0;
            $img.each(function (index,item) {
                if($(item).attr('src') == '/statics/images/sever_select.png'){
                	count += 1;
                }
            });
            if(count == len){
	            $select_img.attr('src','/statics/images/sever_select_all.png')
            }else {
	            $select_img.attr('src','/statics/images/sever_unselect.png')
            }
        }

        //弹层  全选  反选  提交
        function  modal_select_post() {
	        var modal_select = $('#modal_select');//获取ul
        }

        //弹层  投诉类型管理
		click_show_modal_status();
        function click_show_modal_status() {
            $('#admin_complain_status').on('click',function () {
	            amend_modal_place( $('#edit_complain_status'));//修正弹窗位置  始终处于屏幕中央  投诉类型管理
	            $('#edit_complain_status').modal({keyboard: false});
            });
        }

	});
</script>
 <script>loadCent('80%',100);</script>
 <?php if($isLogin && !I('get.ifm')){?>

            </div>
        </div>
    </div>
	<script type="text/html" id="notice">
		<div class="alert alert-info" style="display:none;margin:1px 0 5px 0;">
     	   	<button type="button" class="close" data-dismiss="alert">×</button>
     	   	<strong>温馨提示:</strong> <span class="maintips"></span>
   	 	</div>
	</script>
	<script src="/statics/lib/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            if($.cookie('_sysdomain')){
            	var cookiePars = $.cookie('_sysdomain');
            	parmComb = cookiePars.split('@');
            	$('.row-fluid:first').prepend($('#notice').html());
            	$('.alert .maintips').html(parmComb[0]);
            	$('.alert').show(10,function(){
            			$.cookie('_sysdomain',null,{'path':'/'});
	            		setTimeout(function(){
	            			$('.alert').slideUp(600,function(){
	            				$('.alert').remove();
	            			});
	            			var list = window.parent.art.dialog.list;
	            			if(parmComb[1] != '0')
	            				window.parent.location = parmComb[1];
	            			else
	            				window.parent.location.reload();
	            			list['TIPCHOSEID'].close();
	            		},2000);
            		});
            }
        });
        $(function(){
        	$('.ifrm').live('click',function(){
        		opens($(this).data('url'),$(this).data('width'),$(this).data('height'),$(this).data('title'),$(this).data('params'));
        		return false;
        	});
        	$('.ifrm').each(function(){
           		$(this).attr('title',$(this).data('title'));
           	});
        	<?php if(!isset($_SESSION['tj_life']) || (time()-$_SESSION['tj_life'] > 3600)){?>
		   		//$.get('/index/getCountCj',{},function(){});
		   	<?php }?>
        })
    </script>
  </body>
</html>
<?php }else{?>
            </div>
        </div>
    </div>
	<script src="/statics/lib/bootstrap/js/bootstrap.js"></script>
	<script type="text/html" id="notice">
		<div class="alert alert-info" style="display:none;margin:1px 0 5px 0;">
     	   	<button type="button" class="close" data-dismiss="alert">×</button>
     	   	<strong>温馨提示:</strong> <span class="maintips"></span>
   	 	</div>
	</script>
    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            if($.cookie('_sysdomain')){
            	var cookiePars = $.cookie('_sysdomain');
            	parmComb = cookiePars.split('@');
            	$('.row-fluid:first').prepend($('#notice').html());
            	$('.alert .maintips').html(parmComb[0]);
            	$('.alert').show(10,function(){
            			$.cookie('_sysdomain',null,{'path':'/'});
            			$.cookie('_sysdomain',null);
                		setTimeout(function(){
                			$('.alert').slideUp(600,function(){
                				$('.alert').remove();
    	            			var list = window.parent.art.dialog.list;
    	            			if(parmComb[1] != '0')
    	            				window.parent.location = parmComb[1];
    	            			else
    	            				window.parent.location.reload();
    	            			list['TIPCHOSEID'].close();
                			});
                		},2000);
            		});
            }
           	$('.ifrm').click(function(){
        		opens($(this).data('url'),$(this).data('width'),$(this).data('height'),$(this).data('title'),$(this).data('params'));
        		return false;
        	});
           	$('.ifrm').each(function(){
           		$(this).attr('title',$(this).data('title'));
           	});
        	<?php if(!isset($_SESSION['tj_life']) || (time()-$_SESSION['tj_life'] > 3600)){?>
		   		//$.get('/index/getCountCj',{},function(){});
		   	<?php }?>
        })
    </script>
  </body>
</html>
<?php }?>
<script>loadCent('100%',100);setTimeout(function(){$('#loadIngCent').fadeOut('fast')},800);</script>